package com.dys.testobject;

/**
 * @className: com.dys.testobject.Student
 * @description: com.dys.testobject
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/07/18 下午11:44
 */
public class Student {

    String name;
    int age;
    double height;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public Student() {
    }

    public Student(String name, int age, double height) {
        this.name = name;
        this.age = age;
        this.height = height;
    }

    @Override
    public String toString() {
        return "Student: {Name: " + name + " Age: " + age + " Height: " + height + "}";
    }
}
